<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>用户表单</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="../../layui/css/layui.css" media="all">
<script src="../../layui/layui.js" charset="utf-8"></script>
<script src="../../js/systemManagement/sysuser.js" charset="utf-8"></script>
</head>
<body>
<div id = "conditionsDiv">
 <form class="layui-form" id="conditionsForm">
 <div class="layui-form-item">
 &nbsp;&nbsp;&nbsp;&nbsp;
 <span>姓名：</span>
  <div class="layui-inline">
    <input class="layui-input" placeholder="请输入姓名" name="name" id="nameText" autocomplete="off">
  </div>
 &nbsp;&nbsp;&nbsp;&nbsp;
	<span>用户名：</span>
  <div class="layui-inline">
    <input class="layui-input" placeholder="请输入用户名" name="name" id="usernameText" autocomplete="off">
  </div>
  
  <div class="layui-inline">
      <label class="layui-form-label">部门：</label>
      <div class="layui-input-inline">
        <select id="departmentText" lay-filter="roleFilter">
        <option value=""></option>
	    </select>
    </div>	    
 </div>
 
   <div class="layui-inline">
      <label class="layui-form-label">角色：</label>
      <div class="layui-input-inline">
        <select id="roleText"  lay-filter="roleFilter">
	        <option value=""></option>
	     </select>
    </div>	
    </div>
    </div>
    </form>
</div>  



	<table class="layui-hide" id="sysuserTable" lay-filter="sysuserTable"></table>
	
	<script type="text/html" id="toolbarSysuser">
		<div class="layui-btn-container">
			<button class="layui-btn layui-btn-sm" lay-event="getCheckData">获取选中行数据</button>
			<button class="layui-btn layui-btn-sm" lay-event="getCheckLength">获取选中数目</button>
			<button class="layui-btn layui-btn-sm" lay-event="isAll">验证是否全选</button>
			<button class="layui-btn layui-btn-sm layui-btn-normal" id="addEmplpyeeBtn">添加用户</button>
		</div>
	</script>

	<!-- 需要弹出的添加用户界面 -->
	<div class="layui-row" id="userAdd" style="display: none;">
		<div class="layui-col-md10">
			<form class="layui-form" id="addEmployeeForm">
				<div class="layui-form-item" style="margin-top: 15px">
					<label class="layui-form-label">姓名：</label>
					<div class="layui-input-block">
						<input type="text" id="sysname" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">用户角色：</label>
					<div class="layui-input-block">
						<select class="layui-input" id="roleSelect">
						</select>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">用户部门：</label>
					<div class="layui-input-block">
						<select class="layui-input" id="departmentSelect">
						</select>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">用户职位：</label>
					<div class="layui-input-block">
						<select class="layui-input" id="positionSelect">
						</select>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">是否销户：</label>
					<div class="layui-input-block">
						<select class="layui-input" id="is_delete">
							<option value='1'>否</option>
							<option value='0'>是</option>
						</select>
					</div>
				</div>
				<div class="layui-form-item" style="margin-top: 15px">
					<label class="layui-form-label">姓名：</label>
					<div class="layui-input-block">
						<input type="text" id="username" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">密码：</label>
					<div class="layui-input-block">
						<input type="password" id="password" class="layui-input">
					</div>
				</div>
			</form>
		</div>
	</div>

	<script type="text/html" id="barSysuser">
		<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
		<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
	</script>
</body>
</html>